﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.Sim.Company.Department
{
    /// <summary>
    /// 部门信息
    /// </summary>
    public class DepartmentDto
    {
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 所属部门Id
        /// </summary>
        public int? ParentDepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 部门负责人Id
        /// </summary>
        public long? PrincipalAdminId { get; set; }

        /// <summary>
        /// 部门负责人
        /// </summary>
        public string DepartmentPrincipal { get; set; }

        /// <summary>
        /// 部门路径
        /// </summary>
        public string DepartmentPath { get; set; }
        /// <summary>
        /// 部门员工数量
        /// </summary>
        public int EmployeeCount { get; set; }
        /// <summary>
        /// 配置Id
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称缩写
        /// </summary>
        public string CompanySubName { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 部门成立时间
        /// </summary>
        public DateTime DepartmentCreateTime { get; set; }

        /// <summary>
        /// 编辑人Id
        /// </summary>
        public long EditerId { get; set; }

        /// <summary>
        /// 编辑人姓名
        /// </summary>
        public string Editer { get; set; }
        
        /// <summary>
        /// 所属部门名称
        /// </summary>
        public string ParentDepartmentName { get; set; }
        /// <summary>
        /// 部门简介
        /// </summary>
        public string DepartmentIntroduction { get; set; }
    }
}
